home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12081 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news2.ios.com!usenet
  2. From: vlad@gramercy.ios.com (Vlastimil Adamovsky)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Parsing a bitmap in Visual C++
  5. Date: Mon, 18 Mar 1996 03:52:39 GMT
  6. Organization: Internet Online Services
  7. Message-ID: <4iim98$ime@news2.ios.com>
  8. References: <3147c546.2865185@beta.news.primenet.com>
  9. NNTP-Posting-Host: ppp-54.ts-7.hck.idt.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. tubagod@primenet.com (Charles Olivarez) wrote:
  13.  
  14. >I am trying to write a program that will take a scanned page (both
  15. >monochrome and color) that has been saved as a bitmap.  I am hoping to
  16. >determine the percent of page coverage that exists on a given printed
  17. >page.
  18.  
  19. >I want to parse the bitmap to get the dimensions and bit depth of the
  20. >color pixels.   Does anyone have any hints/code/sources that can help
  21. >me get this done?  I'm lost so far considering I'm new to Visual C++
  22. >and haven't programmed in C in quite a while.
  23.  
  24. Each bitmap, image, picture or whatever they are called, have usually
  25. a header, where you can retrieve the dimensions, depth and other
  26. interesting things. 
  27.  
  28. So you have to start with becoming familiar with the bimap format and
  29. then you can use whatever language you wish. C++ for example.
  30. *******************************************
  31. *    Vlastimil Adamovsky                  *
  32. * Smalltalk, C++ and Envelop development  *
  33. *******************************************
  34.  
  35.